package com.dldata.devtools30.entity;

import jakarta.persistence.*;

import java.util.Objects;

@Entity
@Table(name = "devt_zbplan_paratj")
public class DevtZbplanParatjEntity {
    private String id;
    private String planid;
    private String plancode;
    private String paraname;
    private String paraid;
    private Integer xh;
    private String modelid;
    private String modecode;
    private String modename;
    private String tjsql;
    
    @Id
    @Column(name = "id", nullable = false, length = 64)
    public String getId() {
        return id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Basic
    @Column(name = "planid", nullable = true, length = 256)
    public String getPlanid() {
        return planid;
    }
    
    public void setPlanid(String planid) {
        this.planid = planid;
    }
    
    @Basic
    @Column(name = "plancode", nullable = true, length = 256)
    public String getPlancode() {
        return plancode;
    }
    
    public void setPlancode(String plancode) {
        this.plancode = plancode;
    }
    
    @Basic
    @Column(name = "paraname", nullable = true, length = 256)
    public String getParaname() {
        return paraname;
    }
    
    public void setParaname(String paraname) {
        this.paraname = paraname;
    }
    
    @Basic
    @Column(name = "paraid", nullable = true, length = 256)
    public String getParaid() {
        return paraid;
    }
    
    public void setParaid(String paraid) {
        this.paraid = paraid;
    }
    
    @Basic
    @Column(name = "xh", nullable = true)
    public Integer getXh() {
        return xh;
    }
    
    public void setXh(Integer xh) {
        this.xh = xh;
    }
    
    @Basic
    @Column(name = "modelid", nullable = true, length = 256)
    public String getModelid() {
        return modelid;
    }
    
    public void setModelid(String modelid) {
        this.modelid = modelid;
    }
    
    @Basic
    @Column(name = "modecode", nullable = true, length = 256)
    public String getModecode() {
        return modecode;
    }
    
    public void setModecode(String modecode) {
        this.modecode = modecode;
    }
    
    @Basic
    @Column(name = "modename", nullable = true, length = 256)
    public String getModename() {
        return modename;
    }
    
    public void setModename(String modename) {
        this.modename = modename;
    }
    
    @Basic
    @Column(name = "tjsql", nullable = true, length = 4000)
    public String getTjsql() {
        return tjsql;
    }
    
    public void setTjsql(String tjsql) {
        this.tjsql = tjsql;
    }
    
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        DevtZbplanParatjEntity that = (DevtZbplanParatjEntity) o;
        return Objects.equals(id, that.id) && Objects.equals(planid, that.planid) && Objects.equals(plancode, that.plancode) && Objects.equals(paraname, that.paraname) && Objects.equals(paraid, that.paraid) && Objects.equals(xh, that.xh) && Objects.equals(modelid, that.modelid) && Objects.equals(modecode, that.modecode) && Objects.equals(modename, that.modename) && Objects.equals(tjsql, that.tjsql);
    }
    
    @Override
    public int hashCode() {
        return Objects.hash(id, planid, plancode, paraname, paraid, xh, modelid, modecode, modename, tjsql);
    }
}
